﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.ErrorCode
{
    /// <summary>
     /// 返回码枚举
     /// </summary>
    public enum ApiResultEnum
    {
        /// <summary>
        /// 登录成功
        /// </summary>
        登录成功 = 100,
        
        /// <summary>
        /// 登录失败
        /// </summary>
        登录失败 = 101,
        
        /// <summary>
        /// 查询成功
        /// </summary>
        查询成功 = 200,
        
        /// <summary>
        /// 查询失败
        /// </summary>
        查询失败 = 201,
        
        /// <summary>
        /// 修改成功
        /// </summary>
        修改成功 = 300,
        
        /// <summary>
        /// 修改失败
        /// </summary>
        修改失败 = 301,
        
        /// <summary>
        /// 新增成功
        /// </summary>
        新增成功 = 400,
        
        /// <summary>
        /// 新增失败
        /// </summary>
        新增失败 = 401,
        
        /// <summary>
        /// 删除成功
        /// </summary>
        删除成功 = 500,
        
        /// <summary>
        /// 删除失败
        /// </summary>
        删除失败 = 501,
        
        /// <summary>
        /// 操作成功（通用）
        /// </summary>
        操作成功 = 600,
        
        /// <summary>
        /// 操作失败（通用）
        /// </summary>
        操作失败 = 601,
    }
}
